import { ModelOptions } from "sequelize";

export const option: ModelOptions<any> = {
  paranoid: true,
  freezeTableName: true,
  createdAt: "createTime",
  updatedAt: "updateTime",
  defaultScope: {
    order: [["createTime", "DESC"]], // 默认按照 createTime 倒序排列
  },
};
